package com.gao.service;

import com.gao.mapper.PayMentMapper;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RestController;
import pojo.Payment;

import javax.annotation.Resource;

/**
 * @author gaofeng
 */
@Service
public class PayMentServiceImpl implements PayMentService{

    @Resource
    private PayMentMapper payMentMapper ;

    @Override
    public int create(Payment payment) {
        return 0;
    }

    @Override
    public Payment queryById(long id) {
        return payMentMapper.queryById(id);
    }
}
